package com.t.bricks.bussiness.db.entity.astrictbuy;

import com.t.bricks.bussiness.db.entity.astrictbuy.base.AstrictBuyBase;

/**
 * 限购'AstrictBuy'表扩展实体类
 * 注意:可根据需要创建不同的多个扩展实体类,而不是把所有的扩展属性都集中到一个类中
 * @author HuangXinBian
 */
public class AstrictBuy extends AstrictBuyBase {
	
	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 复制对象
	 * @param source 数据源
	 * @return AstrictBuy
	 */
	public static AstrictBuy copy(AstrictBuy source) {
		if (null == source) {
			return null;
		}
		
		AstrictBuy target = new AstrictBuy();
		target.setsId(source.getsId());
		target.setsWaresId(source.getsWaresId());
		target.setsCustomerId(source.getsCustomerId());
		target.setsOrderId(source.getsOrderId());
		target.setdCreateDate(source.getdCreateDate());

		return target;
	}
	
	/**
	 * 克隆对象
	 * @return AstrictBuy
	 */
	@Override
	public AstrictBuy clone() {
		return copy(this);
	}
	
}
